package com.shop.front.request.store;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;

@ApiModel("修改购物车商品数量请求参数")
@Data
public class StoreCartUpdateCartNumReq {

    @ApiModelProperty("数量")
    @Min(value = 1, message = "数量必须大于0")
    private Integer cartNum;

}
